
package com.spss.scoring.schema.v2.jaxb;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for anonymous complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType>
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element ref="{http://xml.spss.com/scoring-v2}modelReference" minOccurs="0"/>
 *         &lt;element ref="{http://xml.spss.com/scoring-v2}configurationStatus"/>
 *       &lt;/sequence>
 *       &lt;attGroup ref="{http://xml.spss.com/scoring-v2}idAttributeGroup"/>
 *       &lt;attribute name="cfgSerial" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="state" type="{http://xml.spss.com/scoring-v2}runningState" />
 *       &lt;attribute name="cacheSize" type="{http://www.w3.org/2001/XMLSchema}int" />
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "modelReference",
    "configurationStatus"
})
@XmlRootElement(name = "configurationReference")
public class ConfigurationReference {

    protected ModelReference modelReference;
    @XmlElement(required = true)
    protected ConfigurationStatus configurationStatus;
    @XmlAttribute(required = true)
    protected String cfgSerial;
    @XmlAttribute
    protected RunningState state;
    @XmlAttribute
    protected Integer cacheSize;
    @XmlAttribute(required = true)
    protected String id;

    /**
     * The model that is referenced by this configuration, if valid.
     * 
     * @return
     *     possible object is
     *     {@link ModelReference }
     *     
     */
    public ModelReference getModelReference() {
        return modelReference;
    }

    /**
     * Sets the value of the modelReference property.
     * 
     * @param value
     *     allowed object is
     *     {@link ModelReference }
     *     
     */
    public void setModelReference(ModelReference value) {
        this.modelReference = value;
    }

    /**
     * Gets the value of the configurationStatus property.
     * 
     * @return
     *     possible object is
     *     {@link ConfigurationStatus }
     *     
     */
    public ConfigurationStatus getConfigurationStatus() {
        return configurationStatus;
    }

    /**
     * Sets the value of the configurationStatus property.
     * 
     * @param value
     *     allowed object is
     *     {@link ConfigurationStatus }
     *     
     */
    public void setConfigurationStatus(ConfigurationStatus value) {
        this.configurationStatus = value;
    }

    /**
     * Gets the value of the cfgSerial property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getCfgSerial() {
        return cfgSerial;
    }

    /**
     * Sets the value of the cfgSerial property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCfgSerial(String value) {
        this.cfgSerial = value;
    }

    /**
     * Gets the value of the state property.
     * 
     * @return
     *     possible object is
     *     {@link RunningState }
     *     
     */
    public RunningState getState() {
        return state;
    }

    /**
     * Sets the value of the state property.
     * 
     * @param value
     *     allowed object is
     *     {@link RunningState }
     *     
     */
    public void setState(RunningState value) {
        this.state = value;
    }

    /**
     * Gets the value of the cacheSize property.
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public Integer getCacheSize() {
        return cacheSize;
    }

    /**
     * Sets the value of the cacheSize property.
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setCacheSize(Integer value) {
        this.cacheSize = value;
    }

    /**
     * Gets the value of the id property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getId() {
        return id;
    }

    /**
     * Sets the value of the id property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setId(String value) {
        this.id = value;
    }

}
